

import request from '@/router/axios'

const prefix = '/rca/swckclearingaccountrepportface'

export function fetchList (query) {
  return request({
    url: prefix + '/list',
    method: 'get',
    params: query
  })
}

export function dataExport (query) {
  return request({
    url: prefix + '/export',
    method: 'get',
    responseType: 'blob',
    params: query
  })
}

export function send (ids) {
  return request({
    url: prefix + '/send',
    method: 'get',
    params: { ids }
  })
}

export function setReplayLimit (obj) {
  return request({
    url: prefix + '/setReplayLimit',
    method: 'post',
    data: obj
  })
}

export function setReplayLimitPre (ids) {
  return request({
    url: prefix + '/setReplayLimitPre',
    method: 'get',
    params: { ids }
  })
}

